package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.DevGroup;
import com.ruoyi.system.mapper.DevGroupMapper;
import com.ruoyi.system.service.DevGroupService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DevGroupServiceImpl implements DevGroupService {
    @Autowired
    private DevGroupMapper devGroupMapper;

    @Override
    public List<DevGroup> ListDevType(DevGroup devGroup) {
        return devGroupMapper.ListDevType(devGroup);
    }

    @Override
    public int addType(DevGroup devGroup) {
        return devGroupMapper.addType(devGroup);
    }

    @Override
    public int updateType(DevGroup devGroup) {
        return devGroupMapper.updateType(devGroup);
    }

    @Override
    public int deleteType(Integer groupId) {
        return devGroupMapper.deleteType(groupId);
    }
}
